﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Xss.Data.Sql
{
    /// <summary>
    /// sql语句提供
    /// </summary>
    public interface ISqlProvider
    {
        string GetStatement(object param);
    }

    public class SqlProvider : ISqlProvider
    {
        public SqlProvider() { }

        public SqlProvider(string sql)
        {
            Statement = sql;
        }

        public string Statement { get; set; }

        public string GetStatement(object param)
        {
            return Statement;
        }
    }

}
